//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.andromeda.androbench2;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class VersionCheck {
    public VersionCheck() {
    }

    public static String getKernelVersion() {
        String var2;
        try {
            String[] var0 = new String[]{"/system/bin/sh", "-c", "cat /proc/sys/kernel/osrelease"};
            var2 = (new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec(var0).getInputStream()))).readLine();
        } catch (IOException var3) {
            return "unknown";
        }

        if (var2 != null) {
            return var2;
        } else {
            return "unknown";
        }
    }
}
